unit Controller.Index;

interface

uses
  System.SysUtils,
  System.Classes,
  FireDAC.Stan.Intf,
  Data.DB,
  MVC.Command,
  xsuperobject,
  Controller.Custom,
  MVC.Rtti.Attribute,
  myCommand;

type
  [PathAttrib('/', '', False)]
  TIndexController = class(TCustomController)
  public
    procedure Index();
  end;

implementation

{ TIndexController }
procedure TIndexController.Index;
begin
    ShowHTML('index');
end;

initialization
    RegisterClass(TIndexController);
//  RegisterRoule('/',  TIndexController,   '');
finalization
//  UnRegisterRoule('/');
    UnRegisterClass(TIndexController);

end.

